using System;

namespace ebcpatterns.flow
{
    public interface IMap<in TInput, TOutput>
    {
        void Input(TInput message);

        event Action<TOutput> Output;
    }

    public interface IMap<in TInput>
    {
        void Input(TInput message);

        event Action Output;
    }
}